package com.yueke.gemini.entity;

import java.io.Serializable;

/**
 * Created by admin on 2019/11/15.
 */
public class BaseQuery implements Serializable {
    private static final long serialVersionUID = -5553081115801616322L;
    private static final int DEFAULT_SIZE = 20;

    /**
     * 页码
     */
    private int page = 1;
    /**
     * 查询条数
     */
    private int pageSize = 20;

    public BaseQuery() {
    }

    public BaseQuery(int page, int pageSize) {
        this.page = page;
        this.pageSize = pageSize;
    }


    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
}
